/* 
    Created on : 2019/11/7, 上午 11:30:49
    Author     : F1684914
*/
*{
  outline: none;
}
h1{
  text-align: center;
}
form{
  margin: 20px auto;
  width: 50%;
  border: 3px double #555;
  padding: 20px;
  border-radius: 10px;
}
.required-sign {
  padding-left: 5px;
  color: #f00;
}
input{
  border: 2px inset #eee;
  border-radius: 5px;
  margin-top: 5px;
  padding-left: 5px;
  vertical-align: middle;
}
.question-item{
  position: relative;
  width: 100%;
  padding: 20px 20px 0;
  box-sizing: border-box;
}
.question-item h4{
  margin: 0 20px 5px 0;
  max-width: 100%;
  overflow: hidden; 
  text-overflow: ellipsis; 
  white-space: normal;
  display:block;
}
input[type="text"],
input[type="password"]{
  width: 80%;
  margin-left: 35px;
}
input[type="number"]{
  margin-left: 35px;
  width: 200px;
}
input[type="radio"],
input[type="checkbox"]{
  margin-left: 35px;
  display: inline-block;
  width: 20px;
  height: 20px;
}
.question-item label span{
  font-size: 1em;
  font-weight: 500;
  max-width: 40%;
  overflow: hidden; 
  text-overflow: ellipsis; 
  white-space: normal;
  display: inline-block;
  vertical-align: middle;
  margin-top: 5px;
}
textarea{
  height: 120px;
  width: 80%;
  margin-left: 35px;
}
input[type="submit"],
input[type="reset"]{
  text-align: center;
  width: 80px;
  height: 30px;
  margin: 20px 0;
}
input[type="reset"]{
  margin-left: calc(50% - 85px);
  margin-right: 10px;
}
.print{
  display: inline-block;
  text-align: center;
  width: 80px;
  margin-left: calc(50% - 40px);
}